package hmvictor.jpql;

/**
 *
 * @author Victor
 */
public class Connection {
    private String name;
    private String url;
    private String user;
    private char[] password;

    public Connection(String name, String url, String user) {
        this.name=name;
        this.url = url;
        this.user = user;
    }

    public Connection() {
        
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setUser(String user) {
        this.user = user;
    }
    
    public String getName() {
        return name;
    }
    
    public String getUrl() {
        return url;
    }

    public String getUser() {
        return user;
    }

    public char[] getPassword() {
        return password;
    }

    public void setPassword(char[] password) {
        this.password = password;
    }
    
}
